<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <?php include_http_metas() ?>
    <?php include_metas() ?>
    <?php include_title() ?>
    <link rel="shortcut icon" href="/favicon.ico" />
  </head>
  <body>
  <div id="wrapper">
	<!--
	<div id="header">
		<div id="logo">
			<?php echo image_tag("tmdb.jpg"); ?>
		</div>
	</div>
-->
	<!-- end #header -->
	<div id="menu">
		
		<ul>
			<li>			<?php echo image_tag("logo.gif",'width=70px'); ?></li>
			<li><?php echo link_to('Home', '@homepage') ?></li>
			<?php if ($sf_user->isAuthenticated()): ?>
			<li><?php echo link_to('User', 'sfGuardUser/index') ?></li>
			<li><?php echo link_to('Groups', 'sfGuardGroup/index') ?></li>
			<li><?php echo link_to('Permission', 'sfGuardPermission/index') ?></li>
			<li><?php echo link_to('Logout', 'sfGuardAuth/signout') ?></li>
 <?php endif; ?>
		</ul>
		
	</div>
	<!-- end #menu -->
	<div id="page">
	<div id="page-bgtop">
		<div id="sub_menu">
	  <!-- default sidebar code -->	
	</div>

	<div id="page-bgbtm">
		<div id="content">
			<div class="post">
			<div class="post-bgtop">
			<div class="post-bgbtm">
				<div class = "formlayout">
	    			<?php echo $sf_content ?>
	    		</div>
			</div>
			</div>
			</div>	
		<div style="clear: both;">&nbsp;</div>
		</div>
		<!-- end #content -->
			<?php if (!include_slot('sidebar')): ?>
		<div id="sidebar">
			<ul>
				<li>
					 <?php if ($sf_user->isAuthenticated()): ?>
					<h2>Menu</h2>
						<ul>
							<br />
							<li><?php echo link_to(image_tag('add.png', array('title'=>"Delete", 'width'=>'60px')), 'mc/new') ?></li>
<li><?php echo link_to('Logout', 'sfGuardAuth/signout') ?></li>
					 <li><?php echo link_to('Logout', 'sfGuardAuth/signout') ?></li>
							<li><?php echo link_to('Logout', 'sfGuardAuth/signout') ?></li>
            <?php endif; ?>
						</ul>					
				</li>
			</ul>
		</div>
			<?php endif; ?>
		<!-- end #sidebar -->
		<div style="clear: both;">&nbsp;</div>
	</div>
	</div>
	</div>
	<!-- end #page -->
	<div id="footer">
		<p>Copyright (c) 2009 transnationaltravel.ph. All rights reserved. Webapp by <a href="http://teamwebmanila.co.cc/wordpress">Team Web Manila</a>.</p>
	</div>
	<!-- end #footer -->
  </div>
  </body>
</html>